﻿using MaterialDesignDemo.Shared.Domain;

namespace MaterialDesign3Demo.Domain;

public class PickersViewModel : ViewModelBase
{
    private DateTime _date;
    private DateTime _time;
    private string? _validatingTime;
    private DateTime? _futureValidatingDate;

    public PickersViewModel()
    {
        Date = DateTime.Now;
        Time = DateTime.Now;
    }

    public DateTime Date
    {
        get => _date;
        set => SetProperty(ref _date, value);
    }

    public DateTime Time
    {
        get => _time;
        set => SetProperty(ref _time, value);
    }

    public string? ValidatingTime
    {
        get => _validatingTime;
        set => SetProperty(ref _validatingTime, value);
    }

    public DateTime? FutureValidatingDate
    {
        get => _futureValidatingDate;
        set => SetProperty(ref _futureValidatingDate, value);
    }
}
